//
//  SEGUhomeMediator+IntelligentHardware.h
//  SEGBasicBussiness
//
//  Created by 刘山 on 2018/4/26.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGUhomeMediator.h"

@interface SEGUhomeMediator (IntelligentHardware)
/**
 * 一键开门
 * @author Chiang
 */
- (UIViewController*)seg_showDoorWithType:(NSInteger)type showedCallBack:(void(^)(NSDictionary *info))showedCallBack;

/**
 一键开门
 
 @param type 类型
 @param showedCallBack 成功回调
 @param disappearCallBack 页面消失回调
 @return vc
 */
- (UIViewController*)seg_showDoorWithType:(NSInteger)type showedCallBack:(void(^)(NSDictionary *info))showedCallBack disappearCallBack:(void(^)(void))disappearCallBack;

/**
 * 初始化梯控界面
 * @author Sam
 */
- (UIViewController*)seg_initElevatorControlViewController:(NSDictionary *)params;

/**
 获取前八个门禁 先返回本地数据 网络请求更新后，再返回新排序后的数据
 */
- (void)seg_getRecentDoorListWithCallBack:(void(^)(NSArray *doorList))callBack;

/**
 点击某个门禁 触发开门事件
 
 @param params 点击门禁的字典数据
 */
- (void)seg_openDoorWithParams:(NSDictionary *)params completeCallback:(void(^)(NSDictionary *))callback;

/**
 上传历史的开门纪录
 */
- (void)seg_submitOpenDoorRecordHistory;

@end
